// 资源文件 - 路由
'use strict';

module.exports = app => {
  const { router, controller } = app;
  router.get('/tube/admin/queryResource', controller.cResource.pc_c_query);
  router.post('/tube/admin/createResource', controller.cResource.pc_c_create);
  router.put('/tube/admin/updateResource', controller.cResource.pc_c_update);
  router.delete('/tube/admin/deleteResource', controller.cResource.pc_c_delete);
}